package com.wulijie.proxy.test3;

/**
 * @Author cui
 * @Data
 */
public class Client {
    public static void main(String[] args) {
        ProxyFactory factory = new ProxyFactory(new Teacher());
        Teacher instance = (Teacher) factory.getInstance();
        instance.teach();
    }
}
